UCF STIG Viewer Logo

The vCenter Perfcharts service must limit the amount of time that each Transmission Control Protocol (TCP) connection is kept alive.


Overview

Finding ID Version Rule ID IA Controls Severity
V-259086 VCPF-80-000125 SV-259086r934916_rule Medium
Description
Denial of service (DoS) is one threat against web servers. Many DoS attacks attempt to consume web server resources in such a way that no more resources are available to satisfy legitimate requests. In Tomcat, the "connectionTimeout" attribute sets the number of milliseconds the server will wait after accepting a connection for the request Uniform Resource Identifier (URI) line to be presented. This timeout will also be used when reading the request body (if any). This prevents idle sockets that are not sending HTTP requests from consuming system resources and potentially denying new connections.
STIG Date
VMware vSphere 8.0 vCenter Appliance Perfcharts Security Technical Implementation Guide 2023-10-29

Details

Check Text ( C-62826r934914_chk )
The connection timeout should not be disabled by setting it to "-1".

At the command prompt, run the following command:

# xmllint --xpath "//Connector[@connectionTimeout = '-1']" /usr/lib/vmware-perfcharts/tc-instance/conf/server.xml

Expected result:

XPath set is empty

If any connectors are returned, this is a finding.
Fix Text (F-62735r934915_fix)
Navigate to and open:

/usr/lib/vmware-perfcharts/tc-instance/conf/server.xml

Configure the node with the value:

connectionTimeout="20000"

Restart the service with the following command:

# vmon-cli --restart perfcharts